export default {
  sideBarLayout: 'LEFT',
  showDataInfoBar: true,
  loadDefault: true,
  deviewCodeName: 'panel_panel_exp_header',
  deviewId: '0e5a71ca2853deb72c55bd1409beb330',
  appWFId: 'workflow',
  accUserMode: 2,
  capLanguageRes: {
    lanResTag: 'DE.LNAME.MASTER',
  },
  caption: '面板_面板容器（导航部件头部）',
  codeName: 'master_panel_panel_exp_header',
  appDataEntityId: 'web.master',
  viewLayoutPanel: {
    layoutBodyOnly: true,
    viewProxyMode: true,
    layoutMode: 'FLEX',
    layout: {
      layout: 'FLEX',
    },
    rootPanelItems: [
      {
        actionGroupExtractMode: 'ITEM',
        panelItems: [
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                caption: '表格导航',
                itemStyle: 'DEFAULT',
                itemType: 'CTRLPOS',
                layoutPos: {
                  grow: 1,
                  shrink: 1,
                  layout: 'FLEX',
                },
                showCaption: true,
                id: 'gridexpbar',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            contentWidth: 700,
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
              width: 700,
              widthMode: 'PX',
            },
            width: 700,
            id: 'view_content_left',
          },
          {
            actionGroupExtractMode: 'ITEM',
            panelItems: [
              {
                rawItem: {
                  predefinedType: 'NAV_POS',
                  id: 'nav_pos',
                },
                caption: '导航区占位',
                itemStyle: 'DEFAULT',
                itemType: 'RAWITEM',
                layoutPos: {
                  grow: 1,
                  shrink: 1,
                  layout: 'FLEX',
                },
                showCaption: true,
                id: 'nav_pos',
              },
            ],
            layout: {
              layout: 'FLEX',
            },
            dataRegionType: 'INHERIT',
            caption: '容器',
            itemStyle: 'DEFAULT',
            itemType: 'CONTAINER',
            layoutPos: {
              shrink: 1,
              layout: 'FLEX',
            },
            id: 'view_content_right',
          },
        ],
        predefinedType: 'CONTAINER_H_SPLIT',
        layout: {
          layout: 'FLEX',
        },
        dataRegionType: 'INHERIT',
        caption: '容器',
        itemStyle: 'DEFAULT',
        itemType: 'CONTAINER',
        layoutPos: {
          grow: 1,
          shrink: 1,
          layout: 'FLEX',
        },
        id: 'view_exp_split',
      },
    ],
    layoutPanel: true,
    appViewEngines: [
      {
        engineCat: 'VIEW',
        engineType: 'GridExpView',
        id: 'engine',
      },
    ],
    appViewLogics: [
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          actionAfterWizard: 'DEFAULT',
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_NEWDATA',
          id: '新建数据',
        },
        builtinLogic: true,
        id: 'newdata',
      },
      {
        logicTrigger: 'CUSTOM',
        logicType: 'APPUILOGIC',
        builtinAppUILogic: {
          editMode: true,
          builtinLogic: true,
          logicType: 'PREDEFINED',
          viewLogicType: 'APP_OPENDATA',
          id: '打开数据',
        },
        builtinLogic: true,
        id: 'opendata',
      },
    ],
    controls: [
      {
        title: '主数据表格导航',
        xdataControlName: 'gridexpbar_grid',
        enableCounter: true,
        showTitleBar: true,
        autoLoad: true,
        showBusyIndicator: true,
        appViewRefs: [
          {
            realTitle: '面板_导航占位视图',
            refAppViewId: 'web.master_panel_nav_pos_view',
            name: 'EXPITEM:DEFAULT',
            id: 'expitem:default',
          },
        ],
        controls: [
          {
            aggMode: 'NONE',
            columnEnableFilter: 2,
            columnEnableLink: 2,
            groupMode: 'NONE',
            groupStyle: 'DEFAULT',
            orderValueAppDEFieldId: 'px',
            degridColumns: [
              {
                clconvertMode: 'NONE',
                dataItemName: 'name',
                excelCaption: '名称',
                appDEFieldId: 'name',
                valueType: 'SIMPLE',
                aggMode: 'NONE',
                align: 'LEFT',
                capLanguageRes: {
                  lanResTag: 'DEF.LNAME.MASTER.NAME',
                },
                caption: '名称',
                codeName: 'name',
                columnType: 'DEFGRIDCOLUMN',
                noPrivDisplayMode: 1,
                width: 150,
                widthUnit: 'PX',
                enableSort: true,
                id: 'name',
              },
            ],
            degridDataItems: [
              {
                appDEFieldId: 'name',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'name',
              },
              {
                appDEFieldId: 'id',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'srfkey',
              },
              {
                appDEFieldId: 'id',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'srfdataaccaction',
              },
              {
                appDEFieldId: 'region_id',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'region_id',
              },
              {
                appDEFieldId: 'category_type',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'srfdatatype',
              },
              {
                appDEFieldId: 'category_type',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'category_type',
              },
              {
                appDEFieldId: 'category_id',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'category_id',
              },
              {
                appDEFieldId: 'name',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'srfmajortext',
              },
              {
                appDEFieldId: 'wf_status',
                valueType: 'SIMPLE',
                dataType: 25,
                id: 'wf_status',
              },
            ],
            degridEditItems: [
              {
                caption: '标识',
                codeName: 'srfkey',
                enableCond: 3,
                appDEFieldId: 'id',
                editor: {
                  editorType: 'HIDDEN',
                  valueType: 'SIMPLE',
                  editable: true,
                  id: 'srfkey',
                },
                allowEmpty: true,
                id: 'srfkey',
              },
            ],
            pagingMode: 1,
            pagingSize: 20,
            sortMode: 'REMOTE',
            hasWFDataItems: true,
            enableCustomized: true,
            enablePagingBar: true,
            navAppViewId: 'web.master_panel_nav_pos_view',
            navViewPos: 'NONE',
            fetchControlAction: {
              appDEMethodId: 'fetch_default',
              appDataEntityId: 'web.master',
              id: 'fetch',
            },
            removeControlAction: {
              appDEMethodId: 'remove',
              appDataEntityId: 'web.master',
              id: 'remove',
            },
            autoLoad: true,
            showBusyIndicator: true,
            codeName: 'main87',
            controlType: 'GRID',
            logicName: '面板_面板容器（导航部件头部）_表格',
            appDataEntityId: 'web.master',
            controlLogics: [
              {
                eventNames: 'SELECTIONCHANGE',
                logicTag: 'gridexpbar_grid',
                logicType: 'CUSTOM',
                triggerType: 'CTRLEVENT',
                id: 'gridexpbar_selectionchange',
              },
              {
                eventNames: 'LOAD',
                logicTag: 'gridexpbar_grid',
                logicType: 'CUSTOM',
                triggerType: 'CTRLEVENT',
                id: 'gridexpbar_load',
              },
            ],
            controlParam: {
              id: 'gridexpbar_grid',
            },
            modelId: '58af1ccae328db87ea1999df98b32817',
            modelType: 'PSDEGRID',
            name: 'gridexpbar_grid',
            id: 'web.master.main87',
          },
        ],
        codeName: 'panel_panel_exp_header_gridexpbar',
        controlType: 'GRIDEXPBAR',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'gridexpbar',
        },
        modelId: 'cb3b77722a9094a5a9f4c733975c39ad_gridexpbar',
        modelType: 'PSEXPBAR',
        name: 'gridexpbar',
        id: 'panel_panel_exp_header_gridexpbar',
      },
      {
        groupMode: 'SINGLE',
        quickSearchMode: 1,
        enableQuickSearch: true,
        controlType: 'SEARCHBAR',
        appDataEntityId: 'web.master',
        controlParam: {
          id: 'searchbar',
        },
        id: 'searchbar',
      },
      {
        capLanguageRes: {
          lanResTag: 'DE.LNAME.MASTER',
        },
        caption: '面板_面板容器（导航部件头部）',
        codeName: 'panel_panel_exp_header_captionbar',
        controlType: 'CAPTIONBAR',
        appDataEntityId: 'web.master',
        controlParam: {},
        name: 'captionbar',
        id: 'panel_panel_exp_header_captionbar',
      },
    ],
    codeName: 'layoutpanel',
    controlType: 'VIEWLAYOUTPANEL',
    logicName: 'panel_panel_exp_header表格导航视图布局面板',
    appDataEntityId: 'web.master',
    controlParam: {},
    modelId: '0af48d59c61efe2170b9765e0374d5ff',
    modelType: 'PSSYSVIEWLAYOUTPANEL',
    id: 'layoutpanel',
  },
  title: '面板_面板容器（导航部件头部）',
  viewStyle: 'DEFAULT',
  viewType: 'DEGRIDEXPVIEW',
  enableDP: true,
  showCaptionBar: true,
  modelId: 'cb3b77722a9094a5a9f4c733975c39ad',
  modelType: 'PSAPPDEVIEW',
  name: 'MASTERpanel_panel_exp_header',
  id: 'web.master_panel_panel_exp_header',
};
